package main

import (
	"fmt"
	"time"
)

func main() {

	var msg = make(chan string)

	go func() {
		s := <-msg
		fmt.Println(s)
	}()

	msg <- "test"
	time.Sleep(time.Minute)

}
